<template>
	<view>
		<view class="count wrapper">
			<view class="section" v-for="(item,index) in fakeData" :key="index">
				<view class="time">{{item.time}}</view>
				<view class="card">
					<view class="desc">
						<text class="title">{{item.title}}</text>
						<text class="content">{{item.content}}</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				fakeData: []
			};
		},
		onLoad() {
		},
		methods: {
			jump(url, params) {uni.$u.route({url,params})},
		}
	}
</script>

<style lang="scss" scoped>
	.wrapper {
		padding: 10rpx 40rpx;

		.section {
			margin-bottom: 50rpx;

			.time {
				padding: 30rpx 0 20rpx 0;
				text-align: center;
				color: #4d4d4d;
				font-size: 28rpx;
			}

			.card {
				border-radius: 20rpx;
				overflow: hidden;
				width: 100%;
				box-shadow: 0 10rpx 30rpx 5rpx rgba($color: #000000, $alpha: .2);

				.banner {
					image {
						width: 100%;
						height: 350rpx;
					}
				}

				.desc {
					padding: 20rpx;
					display: flex;
					flex-direction: column;

					.title {
						font-weight: 550;
						overflow: hidden;
						white-space: nowrap;
						text-overflow: ellipsis;
					}

					.content {
						margin-top: 20rpx;
						text-indent: 1em;
						font-size: 30rpx;
					}
				}
			}
		}
	}
</style>
